// Script assets have changed for v2.3.0 see
// https://help.yoyogames.com/hc/en-us/articles/360005277377 for more information
function shot(a){
	with (instance_create_layer(x,y,"bullets",bullet))
	{
	direction = a;
	speed = 10;
	}
}